package com.mzj.saas.sdk.pay.vo;

/**
 * 支付宝对象参数
 * @author hp
 *
 */
public class AliPay{
	
	public AliPay() {}
	
	public AliPay(String appId,String privateKey,String publicKey,String outTradeNo,String totalAmount,String subject,String productCode,String passbackParams,
			String notifyUrl) {
		this.appId = appId;
		this.privateKey = privateKey;
		this.publicKey = publicKey;
		this.outTradeNo = outTradeNo;
		this.totalAmount = totalAmount;
		this.subject = subject;
		this.productCode = productCode;
		this.passbackParams = passbackParams;
		this.notifyUrl = notifyUrl;
	}
	
	/**
	 * 商户订单号(必填)
	 */
	private String appId;
	/**
	 * 应用私钥(必填)
	 */
	private String privateKey;
	/**
	 * 应用公钥(必填)
	 */
	private String publicKey;
	/**
	 * 商户订单号(必填)
	 */
	private String outTradeNo;
	/**
	 * 订单总金额，单位为元，精确到小数点后两位，取值范围[0.01,100000000](必填)
	 */
	private String totalAmount;
	/**
	 * 订单标题/商品标题(必填)
	 */
	private String subject;
	/**
	 * 回调地址(必填)
	 */
	private String notifyUrl;
	
	/**
	 * 销售产品码，商家和支付宝签约的产品码，默认为 QUICK_MSECURITY_PAY（App支付）。
	 * 枚举支持：QUICK_MSECURITY_PAY：App支付； CYCLE_PAY_AUTH：周期扣款。 周期扣款产品场景必填。
	 */
	private String productCode;
	
	/**
	 * 回传参数
	 */
	private String passbackParams;
	
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getPrivateKey() {
		return privateKey;
	}
	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}
	public String getPublicKey() {
		return publicKey;
	}
	public void setPublicKey(String publicKey) {
		this.publicKey = publicKey;
	}
	public String getOutTradeNo() {
		return outTradeNo;
	}
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	public String getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	public String getPassbackParams() {
		return passbackParams;
	}

	public void setPassbackParams(String passbackParams) {
		this.passbackParams = passbackParams;
	}
}
